package com.bstek.uflo.designer.security.attribute;

import org.springframework.stereotype.Service;

import com.bstek.uflo.designer.model.process.Process;
import com.bstek.uflo.designer.security.ShapeAuthorizeAttribute;

/**
 * @author matt.yao@bstek.com
 * @since 1.0
 */
@Service
public class ProcessAuthorizeAttribute extends ShapeAuthorizeAttribute {

	public boolean support(String name) {
		return name.equals("process") ? true : false;
	}

	public Class<?> getShapeClass() {
		return Process.class;
	}

}
